package com.entity;

import java.util.Date;

public class Discuss {  //评论表

    private Integer id;  //评论id

    private Userinfo username;  //用户id

    private Books bookid;  //图书id

    private Date discusstime;  //评论时间

    private String content;  //评论内容

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Userinfo getUsername() {
        return username;
    }

    public void setUsername(Userinfo username) {
        this.username = username;
    }

    public Books getBookid() {
        return bookid;
    }

    public void setBookid(Books bookid) {
        this.bookid = bookid;
    }

    public Date getDiscusstime() {
        return discusstime;
    }

    public void setDiscusstime(Date discusstime) {
        this.discusstime = discusstime;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content == null ? null : content.trim();
    }
}